package cn.code.mycloud.module.system.controller.admin.usergrid.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Collections;
import java.util.Set;

@Schema(description = "管理后台 - 用户和网格关联 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AssignUserGridRespVO {


    @Schema(description = "网格ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("网格ID")
    private Long gridId;

    @Schema(description = "用户ID列表", example = "1,3,5")
    private Set<Long> userIds = Collections.emptySet(); // 兜底

}